package com.wm.exam.service.impl;

import com.wm.exam.dao.HistoryVoMapper;
import com.wm.exam.service.HistoryVoService;
import com.wm.exam.vo.HistoryVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HistoryVoServiceImpl implements HistoryVoService {
    @Autowired
    private HistoryVoMapper historyVoMapper;

    /**
     * 查询考试历史
     * @param stuNum
     * @return
     */
    @Override
    public List<HistoryVo> getByStuNum(Integer stuNum) {
        return historyVoMapper.getByClazz(stuNum);
    }
}
